package com.bt;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Description 启动类
 * @Author 张传康
 * @Date 2023-04-28 20:27
 */
@Slf4j
@SpringBootApplication
/*@EnableTransactionManagement*/ //事务
/*@EnableCaching //redis
@EnableScheduling*/
public class BtApplication {
    public static void main(String[] args) {
        SpringApplication.run(BtApplication.class, args);
        log.info("server started");
    }
}
